@using ApiGenerator
@using ApiGenerator.Domain.Code.HighLevel.Methods
@using HighLevelModel = ApiGenerator.Domain.Code.HighLevel.Methods.HighLevelModel
@inherits CodeTemplatePage<HighLevelModel>
@{
	HighLevelModel model = Model;
	var fluentPath = "HighLevel/Client/FluentSyntax/FluentMethod.cshtml";
	var initializerPath = "HighLevel/Client/InitializerSyntax/InitializerMethod.cshtml";
}
@{ await IncludeAsync(fluentPath, new FluentSyntaxView(model.Fluent, async: false)); }
@{ await IncludeAsync(fluentPath, new FluentSyntaxView(model.Fluent, async: true)); }
@if (model.FluentBound != null)
{
<text>
	@{ await IncludeAsync(fluentPath, new FluentSyntaxView(model.FluentBound, async: false)); }
	@{ await IncludeAsync(fluentPath, new FluentSyntaxView(model.FluentBound, async: true)); }
</text>
}
@{ await IncludeAsync(initializerPath, new InitializerSyntaxView(model.Initializer, async: false)); }
@{ await IncludeAsync(initializerPath, new InitializerSyntaxView(model.Initializer, async: true)); }
